﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SummerTraining
{
    [Serializable]
    public class Goods
    {
        private string id;
        public string Id
        {
            get
            {
                return id;
            }
            set
            {
                id = value;
            }
        }
        public float Price
        {
            get;
            set;
        }
        public string Name
        {
            get;
            set;
        }
        public string Owner
        {
            get;
            set;
        }

        public override string ToString()
        {
            return "ID:" + Id + ",Name:" + Name + ", Price:" + Price;
        }
    }
}
